package sueca2011;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;
/**
 *
 * @author gabrieloliveira
 */
public interface InterfaceJogador extends Remote{
    public abstract void escolheJogada(Carta carta) throws RemoteException;
    public abstract void escolheJogada() throws RemoteException;
    public Jogada getJogadaEscolhida() throws RemoteException;
    public boolean hasJogada() throws RemoteException;
    public void jogadaFoiAceita(Carta carta) throws RemoteException;
    public void jogadaNaoFoiAceita(Carta carta) throws RemoteException;
    public boolean temCartaComPuxada(int nipe) throws RemoteException;
    public String getNome() throws RemoteException;
    public Time getTime() throws RemoteException;
    public void setTime(Time time) throws RemoteException;
    public ArrayList<Carta> getCartasIniciais() throws RemoteException;
    public void addCartaInicial(Carta carta) throws RemoteException;
    public Jogada getUltimaJogada() throws RemoteException;
}
